package com.htzg.jardemo.controller;


import com.htzg.jardemo.domain.Person;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "用户 前端控制器")
@Slf4j
@RestController
@RequestMapping("person")
public class PersonController {
    @ApiOperation(value = "测试 查询")
    @GetMapping("test")
    public String test() throws Exception {
        log.info("test");
        return new Person().test();
    }


}
